
       
    function load_special_goods(){
      		              str="";
      		              var data="action=get_special_goods"+"&special_id="+special_id+"&gid="+gid+"&min="+min+"&max="+max;
        //var data="action=get_other_goods"+"&goods_str="+goods_str+"&special_id="+special_id+"&gid="+gid+"&min="+min+"&max="+max;
					$.ajax({
					type:'POST',
					url:shop_newajax,
					data:data,
					dataType:'json',
					beforeSend:function(){      
							$("#outerdiv").show();
							},
					success:function(info){
							/*layer.msg(info.msg);
							setTimeout("window.location.reload()",1000);*/
							$("#outerdiv").hide();
							 g_str=info.goods_str;
							//console.log(array);
							 for(var o in info.token_array){  
	 str+="<dl class='child' ><a href='/shop/detail.php?sid="+special_id+"&goods_id="+info.token_array[o].goods_id+"' title='"+info.token_array[o].goods_name+"'><dt><h2 style='height:38px;overflow:hidden'>"+info.token_array[o].goods_name+"</h2><p class='asd'><span class='price'><font>"+info.token_array[o].price+"</font>积分  <del class='sale'>市场价:"+info.token_array[o].market_price+"</del></span><b>立即兑换</b></p></dt><dd ><img  src='"+info.token_array[o].romate_image+"'/></dd></a></dl>";
							 }
							$("#main").append(str);
							 //alert(info.token_array.length);
						}

					})

      }


